package cn.edu.zut.cs.Model;

import org.springframework.stereotype.Component;

@Component
public class Vehicle {
    private String number;
    private String owner;
    private String intime;
    private String outtime;

    public String getNumber() {
        return number;
    }

    public void setNumber(String number) {
        this.number = number;
    }

    public String getOwner() {
        return owner;
    }

    public void setOwner(String owner) {
        this.owner = owner;
    }

    public String getIntime() {
        return intime;
    }

    public void setIntime(String intime) {
        this.intime = intime;
    }

    public String getOuttime() {
        return outtime;
    }

    public void setOuttime(String outtime) {
        this.outtime = outtime;
    }

    @Override
    public String toString() {
        return "Vehicle{" +
                "number='" + number + '\'' +
                ", owner='" + owner + '\'' +
                ", intime='" + intime + '\'' +
                ", outtime='" + outtime + '\'' +
                '}';
    }
}
